/**
 * 由 CoCo 源代码计划解包器解包
 *
 * 模块 ID：141__part-1
 */

"use strict"

var /* [auto-meaningful-name] */window$location
import * as /* [auto-meaningful-name] */$_366 from "./366"
import /* [auto-meaningful-name] */_$_ from "./366"
import * as /* [auto-meaningful-name] */$$_28_index from "../28/index"
import * as /* [auto-meaningful-name] */$_311 from "./311"
import * as /* [auto-meaningful-name] */$$_59_index from "../59/index"
var l = $$_59_index.b()
function u(e, t) {
  _$_.track(e, function (e) {
    if (!e) {
      return {}
    }
    var t = {}
    for (var n in e) t[n.replace(/([A-Z])/g, "_$1").toLowerCase()] = e[n]
    return t
  }(t))
}
function d(e) {
  _$_.login(e + "")
}
_$_.init({
  server_url: "development" === l || "test" === l ? "https://shence-data.codemao.cn/sa?project=default" : "https://shence-data.codemao.cn/sa?project=production",
  is_track_single_page: true,
  use_client_time: true,
  show_log: !!$_311.q(window.location.href).showSensorsLog,
  send_type: $$_28_index.d() ? "ajax" : "beacon",
  max_string_length: 5e3,
  heatmap: {
    clickmap: "default",
    scroll_notice_map: "default"
  }
})
var /* [auto-meaningful-name] */Editor = "editor"
if ($$_28_index.d()) {
  Editor = "cordova-player"
}
if (null === (window$location = window.location) || undefined === window$location ? undefined : window$location.pathname.includes("/player/")) {
  Editor = "h5-player"
}
_$_.registerPage({
  $app_id: window.location.host,
  $app_name: "APP工匠",
  product_name: "APP工匠",
  page: Editor
})
_$_.quick("autoTrack")
export { u as "141__part-1__u" }
export { d as "141__part-1__d" }
